﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProtoBuf;

namespace WorldOfSuperpowers_COMMON.DataModel
{
    [ProtoContract]
    public class GetToMatchModel
    {
        [ProtoMember(1)]
        public string oppositeName { get; set; }
        [ProtoMember(2)]
        public ushort oppositeNameLevel { get; set; }
        [ProtoMember(3)]
        public ushort userPos { get; set; }
        [ProtoMember(4)]
        public ushort IconIndex { get; set; }

        [ProtoMember(5)] public ushort RoomIndex { get; set; }
    }

    [ProtoContract]
    public class ReadyForMatch
    {
        [ProtoMember(1)]
        public ushort MatchRoomIndex { get; set; }
        [ProtoMember(2)]
        public ushort MyMatchPos { get; set; }
    }

    [ProtoContract]
    public class SkillModel
    {
        [ProtoMember(1)]
        public ushort userPos { get; set; }
        [ProtoMember(2)]
        public ushort skillID { get; set; }
        [ProtoMember(3)]
        public ushort MatchRoomIndex { get; set; }
    }

    [ProtoContract]
    public class BPInfos
    {
        [ProtoMember(1)]
        public ushort[] SkillID { get; set; }

        [ProtoMember(2)]
        public bool SkillisBan { get; set; }
    }
}
